package biz.obake.team.touchprotector.d.g;

import biz.obake.team.touchprotector.R;
import biz.obake.team.touchprotector.d.c;
import biz.obake.team.touchprotector.tpservice.TPService;
import java.util.List;

public class a extends biz.obake.team.touchprotector.d.b implements c.b {

    private class b {

        /* renamed from: a  reason: collision with root package name */
        boolean f1566a;

        /* renamed from: b  reason: collision with root package name */
        boolean f1567b;

        /* renamed from: c  reason: collision with root package name */
        boolean f1568c;

        /* renamed from: d  reason: collision with root package name */
        boolean f1569d;
        boolean e;

        private b(a aVar) {
            this.f1566a = "Locked".equals(biz.obake.team.touchprotector.g.c.c("TPService.State"));
            this.f1567b = b.c();
            this.f1568c = biz.obake.team.touchprotector.g.a.g("unlock_on_call");
            this.f1569d = biz.obake.team.touchprotector.g.a.g("require_pin");
            this.e = biz.obake.team.touchprotector.g.a.g("require_fingerprint");
        }
    }

    public void a(List<String> list) {
        if (new b().f1568c) {
            list.add(biz.obake.team.touchprotector.c.w(R.string.phone_unlockingway_phonecalls));
        }
    }

    /* access modifiers changed from: protected */
    public void b(String str) {
        if (((str.hashCode() == -472425519 && str.equals("Phone.State")) ? (char) 0 : 65535) == 0) {
            b bVar = new b();
            if (bVar.f1566a && bVar.f1567b && bVar.f1568c && !bVar.f1569d && !bVar.e) {
                TPService.k("Unlock", "Phone");
            }
        }
    }
}
